package com.corpdata.app.project.service;

import java.util.List;
import java.util.Map;

import com.corpdata.app.project.entity.ProjectStation;
import com.corpdata.common.result.Result;
import com.corpdata.core.base.BaseService;

/**
 * 分区工位
 * @author wu
 * @email 64088839@qq.com
 * @date 2018-06-08 15:23:00
 * 
 */
public interface ProjectStationService extends BaseService<ProjectStation>{
	Result insert(String partitionId,String names);
	
	Result deleteByPartitionId(String id);

	List<ProjectStation> findAll(Map<String,Object> params);
	//更改分区状态
	int updateProjectStation(String fkTeam,String stationState, List<String> idList);
	//退租
	int toTuizuStatus(String fkTeam);
	//获取工位个数
	int getStationCount(Map<String,Object> params);
	
	int selectAll(String teamId);
}
